#include "glutfunctions.h"
#include <iostream>
#include <cstdlib>    
#include <GL/glut.h>
#include <iostream>


void glutText(double x, double y, const string& text)
{
    glRasterPos3f(x,y,0);
    for(size_t i = 0; i < text.size(); ++i)
        glutBitmapCharacter(GLUT_BITMAP_TIMES_ROMAN_10, text[i]);
}